/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kylingroup.JavaFX.TreeView;

import java.io.File;
import java.util.HashMap;
import javafx.beans.property.ReadOnlyDoubleProperty;
import javafx.concurrent.Task;
import javafx.concurrent.WorkerStateEvent;
import javafx.event.EventHandler;
import javafx.event.EventType;

/**
 *
 * @author kylin
 */
public interface FileTransferTask {
    public File getFile();
    public ReadOnlyDoubleProperty getProgressProperty();
    public void setOnFinishHander(EventType<WorkerStateEvent> type,EventHandler<WorkerStateEvent> handler);
    public HashMap<String,String> getSuccessInfo();
}
